//
//  ALPgatherLable.m
//  AlpFM
//
//  Created by dllo on 16/2/27.
//  Copyright © 2016年 Alp. All rights reserved.
//

#import "ALPgatherLable.h"

@interface ALPgatherLable ()

@end

@implementation ALPgatherLable

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

+(void)creatLable:(NSInteger)x y:(NSInteger)y width:(NSInteger)width height:(NSInteger)height wordsize:(NSInteger)wordsize textcolor:(UIColor *)textcolor backColor:(UIColor *)backColor text:(NSString *)text block:(BLOCK)block{
    UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(x, y, width, height)];
    label.backgroundColor = backColor;
    label.font = [UIFont boldSystemFontOfSize:wordsize];
    label.textColor = textcolor;
    label.text = text;
    block(label);
    
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
